#{extends 'master.html' /}
<div class="page_part">
    <div class="form">
        <form action="@{Order.postStatus(order.id, models.shop.OrderStatus.canceled)}" method="POST">
            <fieldset>
                <legend>Отмена</legend>
                <div>
                    <label for="emailBody">Причина отмены</label>
                    <textarea rows="12" cols="30" name="emailBody" id="emailBody">    &{'Order.cancelReason.body',order.userInfo.name,order.titles.join(', ')}</textarea>
                </div>
                <input type="submit" value="Отмена"/>
            </fieldset>
        </form>
    </div>
</div>